/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.shenyu.agent.plugin.metrics.api.constant;

/**
 * The type Metrics constant.
 */
public final class MetricsConstant {

    /**
     * The constant PROMETHEUS.
     */
    public static final String PROMETHEUS = "prometheus";

    /**
     * The constant REQUEST_TOTAL.
     */
    public static final String REQUEST_TOTAL = "shenyu_request_total";

    /**
     * The constant REQUEST_THROW_TOTAL.
     */
    public static final String REQUEST_THROW_TOTAL = "shenyu_request_throw_total";

    /**
     * The constant REQUEST_THROW_TOTAL.
     */
    public static final String HTTP_REQUEST_TOTAL = "shenyu_http_request_total";

    /**
     * The constant DUBBO_REQUEST_TOTAL.
     */
    public static final String DUBBO_REQUEST_TOTAL = "shenyu_dubbo_request_total";

    /**
     * The constant GRPC_REQUEST_TOTAL.
     */
    public static final String GRPC_REQUEST_TOTAL = "shenyu_grpc_request_total";

    /**
     * The constant MOTAN_REQUEST_TOTAL.
     */
    public static final String MOTAN_REQUEST_TOTAL = "shenyu_motan_request_total";

    /**
     * The constant SOFA_REQUEST_TOTAL.
     */
    public static final String SOFA_REQUEST_TOTAL = "shenyu_sofa_request_total";

    /**
     * The constant TARS_REQUEST_TOTAL.
     */
    public static final String TARS_REQUEST_TOTAL = "shenyu_tars_request_total";

    /**
     * The constant SPRING_CLOUD_REQUEST_TOTAL.
     */
    public static final String SPRING_CLOUD_REQUEST_TOTAL = "shenyu_spring_cloud_request_total";

    /**
     * The constant REQUEST_UNDONE.
     */
    public static final String REQUEST_UNDONE = "shenyu_request_undone";

    /**
     * The constant EXECUTE_LATENCY_MILLIS.
     */
    public static final String EXECUTE_LATENCY_MILLIS = "shenyu_execute_latency_millis";

}
